package com.cloud.businesscomment.service;

/**
 * author : 黄永佳
 * create : 2019/10/15 0015 9:01
 * modified :
 * 功能 :
 **/
public class CreditRole {
    public static int addCredit(int credit,int star){
        return (star*10+credit)/2;
    }
    public static int decreaseCredit(int credit,int star){
        int a=6-star;
        return credit-a;
    }
}
